﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace masini
{
    class Client
    {
        public String Nume;
        public int varsta;
        public List<masina> ListaMasini = new List<masina>();

        public Client()
        {
            this.ListaMasini = null;
            this.Nume = null;
            this.varsta=0;
        }
        public void client_nou(String n,int v)
        {
            Nume = n;
            varsta = v;
            ListaMasini = null;
        }

        public void adauga_masina(masina m)
        {
            ListaMasini.Add(m);
        }
        public void sterge_masina(masina m)
        {
            ListaMasini.Remove(m);
        }

    }
}
